class Person {
  #eye = 'blue'
  static num = 123
  constructor(Cname) {
    this.Cname = Cname
  }
  sayName(){
    console.log('this.Cname== ',this.Cname)
    console.log('this.#eye== ',this.#eye)
    console.log('Person.num== ',Person.num)
  }
  setName(Cname){
    this.Cname=Cname
  }
  setNum(num){
    Person.num=num
  }
  setEye(color) {
    this.#eye = color
  }
}

const p1 = new Person('lu-lu')
console.log(p1)
p1.sayName()
console.log('------------')
p1.setName('人才')
p1.setNum(22222)
p1.setEye('yellow')
p1.sayName()
console.log('------------')
// console.log('p1.#eye',p1.#eye)
// console.log('p1.Cname',p1.Cname)
// console.log('p1.num',p1.num)


const p2 = new Person('乔峰')
p2.sayName()

console.log('Person.name',Person.name)